// routes/articleRoutes.js
const express = require("express");
const router = express.Router();
const typeController = require("../controllers/type");

router.get("/type", typeController.list);
router.post("/type/add", typeController.add);
router.post("/type/update", typeController.update);
router.post("/type/del", typeController.del);

module.exports = router;
